<?php

namespace App\Http\Presenters;

class ChoicePresenter
{
    public function judgeWhether(int $value)
    {
        $result = '';
        switch ($value) {
            case 0:
                $result = '否';
                break;
            case 1:
                $result = '是';
                break;
        }
        return $result;
    }
}
